import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { BugComponent } from "./cpt/bug/bug.component";
import { HackComponent } from "./cpt/hack/hack.component";
import { PageNotFoundComponent } from "./cpt/page-not-found/page-not-found.component";
import { AboutComponent } from "./cpt/about/about.component";
import { AgreeComponent } from "./cpt/agree/agree.component";

const routes: Routes = [
  { path: "share/bug", component: BugComponent },
  { path: "share/about", component: AboutComponent },
  { path: "share/agree", component: AgreeComponent }
  // { path: "share/hack", component: HackComponent }
  // { path: "**", component: PageNotFoundComponent }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ShareRoutingModule {}
